package org.fund.common.constant;

/**
 * @Author:
 * @Date: 2022/3/15 16:29
 * @Description:
 */
public enum OperatorType {
    PURCHASE(0,"买入"),
    SALE(1,"卖出"),
    REVOKE(2,"撤销");

    private int  code;
    private String description;

    OperatorType(int code, String description) {
        this.code = code;
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
